﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows;
using System.Windows.Controls;

namespace WPF_TY_UI
{
    public class LSBRadioButton : RadioButton
    {

        #region 附加属性 OnContent
        public object OnContent { get { return (object)GetValue(OnContentProperty); } set { SetValue(OnContentProperty, value); } }
        public static readonly DependencyProperty OnContentProperty = DependencyProperty.Register("OnContent", typeof(object), typeof(LSBRadioButton), new PropertyMetadata(default(object)));
        #endregion

        #region 附加属性 CornerRadius
        public CornerRadius CornerRadius { get { return (CornerRadius)GetValue(CornerRadiusProperty); } set { SetValue(CornerRadiusProperty, value); } }
        public static readonly DependencyProperty CornerRadiusProperty = DependencyProperty.Register("CornerRadius", typeof(CornerRadius), typeof(LSBRadioButton), new PropertyMetadata(default(CornerRadius)));
        #endregion


        #region 附加属性 Icon
        public object Icon { get { return (object)GetValue(IconProperty); } set { SetValue(IconProperty, value); } }
        public static readonly DependencyProperty IconProperty = DependencyProperty.Register("Icon", typeof(object), typeof(LSBRadioButton), new PropertyMetadata(default(object)));
        #endregion


    }
}
